#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int display1(char* string);
int display2(char* string);
main()
{
	char string[] = "Welcome to Linux!";
	display1(string);
	display2(string);
}
int display1(char* string)
{
	printf("The original string is % s \n", string);
}
int display2(char* string1)
{
	char* string2;
	int size, i;
	size = strlen(string1);
	string2 = (char*)malloc(size + 1);
	for (i = 0; i < size; i++)
	{
		string2[size - i] = string1[i];
	}
	string2[size + 1] = ' ';
	printf("The string afterward is % s\n", string2);
}
